/****** Object:  Stored Procedure DeliveredOrdersGet    Script Date: Thursday, August 10, 2006 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spDeliveredOrdersGet]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [spDeliveredOrdersGet]
GO

	
	
/******************************************************************************
**		File: 
**		Name: spDeliveredOrdersGet
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 8/10/2006 3:27:02 PM
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE spDeliveredOrdersGet
	@DeliveredOrderID int
AS

SELECT
	[DeliveredOrderID],
	[OfficeID],
	[SupplierCode],
	[OrderNo],
	[YY],
	[OrderDate],
	[QtyIssued],
	[DateIssued],
	[ProductCode],
	[BulkOrderID],
	[CustomerName],
	[POID]
FROM
	[DeliveredOrders]
WHERE
	[DeliveredOrderID] = @DeliveredOrderID

GO
	

	
